package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
//推荐书籍类
public class Recommendation {
    private String title;
    private String description;
    private Book book;

    public Recommendation(String s, String s1) {
        this.title = s;
        this.description = s1;
    }
}